package com.zhuoyian.pluginsdk;

import android.content.Context;

import com.zyasdk.PU;
import com.zyasdk.enums.PayState;
import com.zyasdk.model.PayParm;


public class PayRecordUtil {

	/**
	 * @param context
	 * @param state
	 * @param PBindKey
	 * @param PackId
	 * @param payMoney
	 * @param payUnit
	 * @param PayCompany
	 */
	@SuppressWarnings("static-access")
	public static void AddPR(Context context, PayState state, String PBindKey,
							 int PackId, String payMoney, String payUnit, String PayCompany) {
		new PU().AddPayRecord(context, null, PBindKey, state, PackId,
				PayCompany, LanguageUtil.getCountry(context), payMoney,
				payUnit, LanguageUtil.getLanguage(context));
	}

	/**
	 * add pay record
	 * @param context
	 * @param pp
	 */
	public static void AddPR(Context context, PayParm pp) {
		PU.addPayRecord(context, null, pp);
	}
}
